package com.carleasoft.mps.cms.business.user.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author zang
 * @since 2023-05-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("c_user_skill_type")
public class UserSkillType implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * id
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @TableField("USER_SKILL_TYPE")
    private String userSkillType;


    @TableField("USER_SKILL_PARENT_TYPE")
    private String userSkillParentType;

    @TableField("USER_SKILL_TYPE_NAME")
    private String userSkillTypeName;


    @TableField(exist = false)
    private List<UserSkillType> children;


    /**
     * 人数
     */
    @TableField(exist = false)
    private Integer sum=0;
}
